<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Referência da Template de Classe individual&lt; _ty, _realTy &gt;</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Busca');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;Principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Arquivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Busca" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Lista&nbsp;de&nbsp;Componentes</span></a></li>
      <li><a href="hierarchy.html"><span>Hierarquia&nbsp;de&nbsp;Classes</span></a></li>
      <li><a href="functions.html"><span>Componentes&nbsp;Membros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência da Template de Classe individual&lt; _ty, _realTy &gt;</h1><!-- doxytag: class="individual" -->
<p><code>#include &lt;<a class="el" href="individual_8h_source.html">individual.h</a>&gt;</code></p>

<p><a href="classindividual-members.html">Lista de todos os Membros.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Tipos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
&lt; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a1e5daa9df67df2ce845387ea20c7111e">posTy_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
&lt; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;<br class="typebreak"/>
 * &gt;::iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a366746f769614c9cc31b42da59525c6b">it_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
&lt; <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt;<br class="typebreak"/>
 * &gt;::const_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#adcf0ed63de337fb1511eb795502f6e48">const_it_</a></td></tr>
<tr><td colspan="2"><h2>Métodos Públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#af3455065daf6ab90fdb5c3e6347e453f">individual</a> (const int &amp;id, const int &amp;dimension=def::individual::dimension, const int &amp;size=def::individual::size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#ab73b6268c2159515fc0bd845fbbbb13c">individual</a> (const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a987acf66924e969f29e3091faf6776b3">~individual</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const _realTy &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#adf23ea4763b162d8e84ee53765775697">GetValue</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a906863b234c66ce3a45cab44c85ef385">SetValue</a> (const _realTy &amp;new_val)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#ad9f03da405f7f069cbafd11387fbf5f9">GetPair</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a57a124a83b28f8af06fa2e5dbcf30c55">GetPair</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a07dd69312bd76a2046ca3331b769023d">SetPair</a> (<a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *new_pair)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a061ed50343d97420486e74d49e38a96f">GetSize</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a2142383da99c87d1f2dac7fccd4565d8">GetDimension</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const int &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#aec666131664fc884367d321cde07a586">GetID</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#aa9650e911651d6656cbd44f0d9344aaf">SetID</a> (const int &amp;new_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html#adcf0ed63de337fb1511eb795502f6e48">const_it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#aacc10fcba3051c1b1913afe924c8f293">begin</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html#adcf0ed63de337fb1511eb795502f6e48">const_it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#af2c60e6a02eae91c9f1b419a11067bdb">end</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html#a366746f769614c9cc31b42da59525c6b">it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a593da2dd173a84dd3dec95fd505cc348">begin</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classindividual.html#a366746f769614c9cc31b42da59525c6b">it_</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a101b20b621ef6cf681ba210247c937d5">end</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a06553b7f9e7ae18920b6956d68aec8f9">AddCoordinate</a> (const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;new_coord)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; _realTy &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a23ee0230af928473dfb38c8d2f03a6d8">GetRealPosition</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a64d3b068c2c4e652a93051ab261b06eb">GeneratePosition</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a19b73804838e239adf7eb78ac7d4495c">PrintRealPosition</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a62c3d8ac9655e7cc94bd290013a7fb9c">operator[]</a> (const int &amp;pos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#afe28d4eab4c2cc479b00931cc5c51d1b">operator[]</a> (const int &amp;pos) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#aec35be09dd951d52d794adf07f18f555">operator==</a> (const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a354f288f25fd01c842c91eba334cbc62">operator!=</a> (const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a33af2ec8a3a483ddd5e188959a20f22b">operator&lt;</a> (const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a059f721458f46910431c30d5c7f8b83d">operator&gt;</a> (const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a2116152c25706d6e5eef761f8b516cbe">operator&gt;=</a> (const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a5fd9597a7c5dc2308535236c314d85e6">operator&lt;=</a> (const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id) const </td></tr>
<tr><td colspan="2"><h2>Métodos Públicos Estáticos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a848c15d022ac9f2b446b45d7fae7ddd0">MakePair</a> (<a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id_1, <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id_2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classindividual.html#a3f064fc3cf1612ef6cd2ffda4cb7610c">SeparetePair</a> (<a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id_1, <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;id_2)</td></tr>
<tr><td colspan="2"><h2>Amigas</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , typename U &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::istream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classindividual.html#a11c97e7fa3954c61cc91282d96d1ae2d">operator&gt;&gt;</a> (std::istream &amp;is, <a class="el" href="classindividual.html">individual</a>&lt; T, U &gt; &amp;id)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename T , typename U &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">std::ostream &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classindividual.html#a90bc9541f07077cb6af916fd8dd2eca2">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classindividual.html">individual</a>&lt; T, U &gt; &amp;id)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Descrição Detalhada</h2>
<h3>template&lt;typename _ty, typename _realTy&gt;<br/>
 class individual&lt; _ty, _realTy &gt;</h3>

<p>Classe que possui os atributos e operações que podem ser realizados com um indivíduo do algoritmo genético. O indivíduo possui como atributo principal um vetor de coordenadas que contém uma coordenada para cada grau de liberdade do problema a ser otimizado.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_ty</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_realTy</em>&nbsp;</td><td></td></tr>
  </table>
  </dd>
</dl>
<hr/><h2>Definições de Tipos</h2>
<a class="anchor" id="adcf0ed63de337fb1511eb795502f6e48"></a><!-- doxytag: member="individual::const_it_" ref="adcf0ed63de337fb1511eb795502f6e48" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classcoordinate.html">coordinate</a>&lt;_ty,_realTy&gt;*&gt;::const_iterator <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::<a class="el" href="classindividual.html#adcf0ed63de337fb1511eb795502f6e48">const_it_</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tipo de dado de iterator constante para percorrer o vetor de coordenadas. </p>

</div>
</div>
<a class="anchor" id="a366746f769614c9cc31b42da59525c6b"></a><!-- doxytag: member="individual::it_" ref="a366746f769614c9cc31b42da59525c6b" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classcoordinate.html">coordinate</a>&lt;_ty,_realTy&gt;*&gt;::iterator <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::<a class="el" href="classindividual.html#a366746f769614c9cc31b42da59525c6b">it_</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tipo de dado do iterator para percorrer o vetor de coordenadas. </p>

</div>
</div>
<a class="anchor" id="a1e5daa9df67df2ce845387ea20c7111e"></a><!-- doxytag: member="individual::posTy_" ref="a1e5daa9df67df2ce845387ea20c7111e" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef std::vector&lt;<a class="el" href="classcoordinate.html">coordinate</a>&lt;_ty,_realTy&gt;*&gt; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::<a class="el" href="classindividual.html#a1e5daa9df67df2ce845387ea20c7111e">posTy_</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Tipo de dados do vetor que armazena as coordenadas que compõem o indivíduo. </p>

</div>
</div>
<hr/><h2>Construtores &amp; Destrutores</h2>
<a class="anchor" id="af3455065daf6ab90fdb5c3e6347e453f"></a><!-- doxytag: member="individual::individual" ref="af3455065daf6ab90fdb5c3e6347e453f" args="(const int &amp;id, const int &amp;dimension=def::individual::dimension, const int &amp;size=def::individual::size)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::<a class="el" href="classindividual.html">individual</a> </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>dimension</em> = <code>def::individual&lt;&nbsp;_ty,&nbsp;_realTy&nbsp;&gt;::dimension</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>size</em> = <code>def::individual&lt;&nbsp;_ty,&nbsp;_realTy&nbsp;&gt;::size</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método construtor.</p>
<p>id Identificador que identifica o indivíduo.  dimension Número de dimensões da função a ser otimizada (graus de liberdade do problema).  size Tamanho da representação em binário do problema. </p>

</div>
</div>
<a class="anchor" id="ab73b6268c2159515fc0bd845fbbbb13c"></a><!-- doxytag: member="individual::individual" ref="ab73b6268c2159515fc0bd845fbbbb13c" args="(const individual&lt; _ty, _realTy &gt; &amp;id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::<a class="el" href="classindividual.html">individual</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método construtor de cópia.</p>
<p>id O indivíduo a ser copiado. </p>

</div>
</div>
<a class="anchor" id="a987acf66924e969f29e3091faf6776b3"></a><!-- doxytag: member="individual::~individual" ref="a987acf66924e969f29e3091faf6776b3" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::~<a class="el" href="classindividual.html">individual</a> </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método destrutor. </p>

</div>
</div>
<hr/><h2>Métodos</h2>
<a class="anchor" id="a06553b7f9e7ae18920b6956d68aec8f9"></a><!-- doxytag: member="individual::AddCoordinate" ref="a06553b7f9e7ae18920b6956d68aec8f9" args="(const coordinate&lt; _ty, _realTy &gt; &amp;new_coord)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::AddCoordinate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcoordinate.html">coordinate</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>new_coord</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método que adiciona uma coordenada ao vetor de coordenadas.</p>
<p>new_coord Nova coordenada a ser adicionada.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso a inserção tenha sido realizada com sucesso, False caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a593da2dd173a84dd3dec95fd505cc348"></a><!-- doxytag: member="individual::begin" ref="a593da2dd173a84dd3dec95fd505cc348" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html#a366746f769614c9cc31b42da59525c6b">it_</a> <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::begin </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator para o container que armazena as coordenadas do indivíduo.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator para o início do container. </dd></dl>

</div>
</div>
<a class="anchor" id="aacc10fcba3051c1b1913afe924c8f293"></a><!-- doxytag: member="individual::begin" ref="aacc10fcba3051c1b1913afe924c8f293" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html#adcf0ed63de337fb1511eb795502f6e48">const_it_</a> <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::begin </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator constante para o container que armazena as coordenadas do indivíduo.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator constante para o início do container. </dd></dl>

</div>
</div>
<a class="anchor" id="a101b20b621ef6cf681ba210247c937d5"></a><!-- doxytag: member="individual::end" ref="a101b20b621ef6cf681ba210247c937d5" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html#a366746f769614c9cc31b42da59525c6b">it_</a> <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::end </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator para o container que armazena as coordenadas do indivíduo.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator para o fim do container. </dd></dl>

</div>
</div>
<a class="anchor" id="af2c60e6a02eae91c9f1b419a11067bdb"></a><!-- doxytag: member="individual::end" ref="af2c60e6a02eae91c9f1b419a11067bdb" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html#adcf0ed63de337fb1511eb795502f6e48">const_it_</a> <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::end </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna um iterator constante para o container que armazena as coordenadas do indivíduo.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um iterator constante para o fim do container. </dd></dl>

</div>
</div>
<a class="anchor" id="a64d3b068c2c4e652a93051ab261b06eb"></a><!-- doxytag: member="individual::GeneratePosition" ref="a64d3b068c2c4e652a93051ab261b06eb" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GeneratePosition </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gera uma posição aleatória para o indivíduo id, para as coordenada apontadas por begin e end </p>

</div>
</div>
<a class="anchor" id="a2142383da99c87d1f2dac7fccd4565d8"></a><!-- doxytag: member="individual::GetDimension" ref="a2142383da99c87d1f2dac7fccd4565d8" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const int&amp; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GetDimension </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Número de graus de liberdade, ou dimensões do indivíduo. </dd></dl>

</div>
</div>
<a class="anchor" id="aec666131664fc884367d321cde07a586"></a><!-- doxytag: member="individual::GetID" ref="aec666131664fc884367d321cde07a586" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const int&amp; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GetID </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O número que identifica unicamente o indivíduo dentro de uma população. </dd></dl>

</div>
</div>
<a class="anchor" id="a57a124a83b28f8af06fa2e5dbcf30c55"></a><!-- doxytag: member="individual::GetPair" ref="a57a124a83b28f8af06fa2e5dbcf30c55" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;* <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GetPair </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um ponteiro para o indivíduo que é par do indivíduo. Utilizado durante o cruzamento dos indivíduos. </dd></dl>

</div>
</div>
<a class="anchor" id="ad9f03da405f7f069cbafd11387fbf5f9"></a><!-- doxytag: member="individual::GetPair" ref="ad9f03da405f7f069cbafd11387fbf5f9" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classindividual.html">individual</a>&lt;_ty,_realTy&gt;* <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GetPair </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um ponteiro para o indivíduo que é par do indivíduo. Utilizado durante o cruzamento dos indivíduos. </dd></dl>

</div>
</div>
<a class="anchor" id="a23ee0230af928473dfb38c8d2f03a6d8"></a><!-- doxytag: member="individual::GetRealPosition" ref="a23ee0230af928473dfb38c8d2f03a6d8" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty , typename _realTy &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; _realTy &gt; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GetRealPosition </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método que retorna a posição, em representação real, do indivíduo.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Um vetor contendo o valor real, em representação real, de cada coordenada do indivíduo. </dd></dl>

</div>
</div>
<a class="anchor" id="a061ed50343d97420486e74d49e38a96f"></a><!-- doxytag: member="individual::GetSize" ref="a061ed50343d97420486e74d49e38a96f" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const int&amp; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GetSize </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>Retorna o tamanho do indivíduo. </dd></dl>

</div>
</div>
<a class="anchor" id="adf23ea4763b162d8e84ee53765775697"></a><!-- doxytag: member="individual::GetValue" ref="adf23ea4763b162d8e84ee53765775697" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const _realTy&amp; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::GetValue </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (get).</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>O valor do fitness do indivíduo. </dd></dl>

</div>
</div>
<a class="anchor" id="a848c15d022ac9f2b446b45d7fae7ddd0"></a><!-- doxytag: member="individual::MakePair" ref="a848c15d022ac9f2b446b45d7fae7ddd0" args="(individual&lt; _ty, _realTy &gt; &amp;id_1, individual&lt; _ty, _realTy &gt; &amp;id_2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::MakePair </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id_1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id_2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método estático que faz o par entre dois indivíduos.</p>
<p>id_1 Um dos indivíduos do par.  id_2 O outro indivíduo do par. </p>

</div>
</div>
<a class="anchor" id="a354f288f25fd01c842c91eba334cbc62"></a><!-- doxytag: member="individual::operator!=" ref="a354f288f25fd01c842c91eba334cbc62" args="(const individual&lt; _ty, _realTy &gt; &amp;id) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de desigualdade. retorna se o valor do fitness dos indivíduos são diferentes.</p>
<p>id O indivíduo a ser comparado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True caso os indivíduos são diferentes, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a33af2ec8a3a483ddd5e188959a20f22b"></a><!-- doxytag: member="individual::operator&lt;" ref="a33af2ec8a3a483ddd5e188959a20f22b" args="(const individual&lt; _ty, _realTy &gt; &amp;id) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Retorna se o fitness de um indivíduo é menor que o do outro.</p>
<p>id O indivíduo a ser comparado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True se o fitness de id for menor, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a5fd9597a7c5dc2308535236c314d85e6"></a><!-- doxytag: member="individual::operator&lt;=" ref="a5fd9597a7c5dc2308535236c314d85e6" args="(const individual&lt; _ty, _realTy &gt; &amp;id) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator&lt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Retorna se o fitness de um indivíduo é menor ou igual que o do outro.</p>
<p>id O indivíduo a ser comparado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True se o fitness de id for menor ou igual, false caso contrário </dd></dl>

</div>
</div>
<a class="anchor" id="aec35be09dd951d52d794adf07f18f555"></a><!-- doxytag: member="individual::operator==" ref="aec35be09dd951d52d794adf07f18f555" args="(const individual&lt; _ty, _realTy &gt; &amp;id) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de igualdade. Retorna se o valor do fitness dos indivíduos são iguais.</p>
<p>id O indivíduo a ser comparado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True se os indivíduos são igauis, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a059f721458f46910431c30d5c7f8b83d"></a><!-- doxytag: member="individual::operator&gt;" ref="a059f721458f46910431c30d5c7f8b83d" args="(const individual&lt; _ty, _realTy &gt; &amp;id) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator&gt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Retorna se o fitness de um indivíduo é maior que o do outro.</p>
<p>id O indivíduo a ser comparado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True se o fitness de id for maior, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="a2116152c25706d6e5eef761f8b516cbe"></a><!-- doxytag: member="individual::operator&gt;=" ref="a2116152c25706d6e5eef761f8b516cbe" args="(const individual&lt; _ty, _realTy &gt; &amp;id) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator&gt;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de comparação. Retorna se o fitness de um indivíduo é maior ou igual que o do outro.</p>
<p>id O indivíduo a ser comparado.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>True se o fitness de id for maior ou igual, false caso contrário. </dd></dl>

</div>
</div>
<a class="anchor" id="afe28d4eab4c2cc479b00931cc5c51d1b"></a><!-- doxytag: member="individual::operator[]" ref="afe28d4eab4c2cc479b00931cc5c51d1b" args="(const int &amp;pos) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classcoordinate.html">coordinate</a>&lt;_ty,_realTy&gt;&amp; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de acesso. Retorna a coordenada no índice passado como parâmetro.</p>
<p>pos A posição da coordenada.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A coordenada na posição pos. </dd></dl>

</div>
</div>
<a class="anchor" id="a62c3d8ac9655e7cc94bd290013a7fb9c"></a><!-- doxytag: member="individual::operator[]" ref="a62c3d8ac9655e7cc94bd290013a7fb9c" args="(const int &amp;pos)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcoordinate.html">coordinate</a>&lt;_ty,_realTy&gt;&amp; <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Operador de acesso. Retorna a coordenada no índice passado como parâmetro.</p>
<p>pos A posição da coordenada.</p>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A coordenada na posição pos. </dd></dl>

</div>
</div>
<a class="anchor" id="a19b73804838e239adf7eb78ac7d4495c"></a><!-- doxytag: member="individual::PrintRealPosition" ref="a19b73804838e239adf7eb78ac7d4495c" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::PrintRealPosition </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Imprime a posiçao, em valores reais, na saída padrão. </p>

</div>
</div>
<a class="anchor" id="a3f064fc3cf1612ef6cd2ffda4cb7610c"></a><!-- doxytag: member="individual::SeparetePair" ref="a3f064fc3cf1612ef6cd2ffda4cb7610c" args="(individual&lt; _ty, _realTy &gt; &amp;id_1, individual&lt; _ty, _realTy &gt; &amp;id_2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::SeparetePair </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id_1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id_2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método estático que desfaz um par de indivíduos.</p>
<p>id_1 O primeiro indivíduo do par a ser desfeito.  id_2 O segundo indivíduo do par a ser desfeito. </p>

</div>
</div>
<a class="anchor" id="aa9650e911651d6656cbd44f0d9344aaf"></a><!-- doxytag: member="individual::SetID" ref="aa9650e911651d6656cbd44f0d9344aaf" args="(const int &amp;new_id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::SetID </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&nbsp;</td>
          <td class="paramname"> <em>new_id</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_id Seta o novo valor do identificador. </p>

</div>
</div>
<a class="anchor" id="a07dd69312bd76a2046ca3331b769023d"></a><!-- doxytag: member="individual::SetPair" ref="a07dd69312bd76a2046ca3331b769023d" args="(individual&lt; _ty, _realTy &gt; *new_pair)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::SetPair </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt; *&nbsp;</td>
          <td class="paramname"> <em>new_pair</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_pair Ponteiro para o par do indivíduo a ser setado. </p>

</div>
</div>
<a class="anchor" id="a906863b234c66ce3a45cab44c85ef385"></a><!-- doxytag: member="individual::SetValue" ref="a906863b234c66ce3a45cab44c85ef385" args="(const _realTy &amp;new_val)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classindividual.html">individual</a>&lt; _ty, _realTy &gt;::SetValue </td>
          <td>(</td>
          <td class="paramtype">const _realTy &amp;&nbsp;</td>
          <td class="paramname"> <em>new_val</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Método de interface (set).</p>
<p>new_val É o novo valor do fitness do indivíduo. </p>

</div>
</div>
<hr/><h2>Amigas e Funções Relacionadas</h2>
<a class="anchor" id="a90bc9541f07077cb6af916fd8dd2eca2"></a><!-- doxytag: member="individual::operator&lt;&lt;" ref="a90bc9541f07077cb6af916fd8dd2eca2" args="(std::ostream &amp;os, const individual&lt; T, U &gt; &amp;id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename U &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classindividual.html">individual</a>&lt; T, U &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sobrecarga do operador de fluxo de saída.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>T</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>U</em>&nbsp;</td><td>is Stream do fluxo de saída.  id Indivíduo a ser jogado no fluxo de saída.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A mesma stream passada como parâmetro. </dd></dl>

</div>
</div>
<a class="anchor" id="a11c97e7fa3954c61cc91282d96d1ae2d"></a><!-- doxytag: member="individual::operator&gt;&gt;" ref="a11c97e7fa3954c61cc91282d96d1ae2d" args="(std::istream &amp;is, individual&lt; T, U &gt; &amp;id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _ty, typename _realTy&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename U &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::istream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&nbsp;</td>
          <td class="paramname"> <em>is</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classindividual.html">individual</a>&lt; T, U &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sobrecarga do operador de fluxo de entrada.</p>
<dl><dt><b>Template Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>T</em>&nbsp;</td><td></td></tr>
    <tr><td valign="top"></td><td valign="top"><em>U</em>&nbsp;</td><td>is Stream do fluxo de entrada.  id Indivíduo a ser jogado no fluxo de entrada.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Retorna:</b></dt><dd>A mesma stream passada como parâmetro. </dd></dl>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir do seguinte arquivo:<ul>
<li><a class="el" href="individual_8h_source.html">individual.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Arquivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de Tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Amigas</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Sat Oct 30 13:47:50 2010 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
